body {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* border: 1px solid red; */
  width: 380px;
}

.progress {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.item {
  width: 30px;
  height: 30px;
  border: 4px solid #dededf;
  border-radius: 50%;
  display: flex;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.5s ease;
}

.progress::before {
  content: "";
  z-index: -2;
  position: absolute;
  left: 30px;
  top: 50%;
  width: 88%;
  transform: translateY(-50%);
  border: 2px solid #dededf;
}
.item.active {
  border: 4px solid #2396ef;
}

.bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0%;
  border: 2px solid #2396ef;
  z-index: -1;
  transition: all 0.5s ease;
}

button {
  margin-top: 20px;
  margin-right: 15px;
  background-color: #2396ef;
  border: none;
  color: white;
  width: 80px;
  height: 35px;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.disabled {
  background-color: #dededf;
  cursor: not-allowed;
}

button:active {
  scale: 0.99;
}
